html,
body {
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

#mc_window_box {
  overflow: auto;
  height: 100%;
  flex-grow: 1;
  flex: 1 1 auto;
  position: relative;
}

.mc_window {
  position: absolute;
  border: 1px solid #fff;
  cursor: default;
  overflow: hidden;
  background-color: #8c9bf0;
}

.selected {
  border: 1px solid red !important;
}

/* 中心圆点 */
.window_name_div {
  color: #fff;
  width: 46px;
  height: 46px;
  background-color: blue !important;
  border-radius: 46px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 46px;

  justify-content: center;
}

/* 面包屑 */
#mc_crumbs {
  /* margin-bottom: 6px; */
  align-items: center;

  height: 38px;
  /* background-color: rgb(239, 239, 239); */
}

.crumb_item {
  display: flex;
  align-items: center;
}

.crumb_item_text {
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}

.crumb_item_text:hover {
  color: #255388;
}

.crumb_item_text div {
  font-size: 12px;
  text-align: center;
}

.crumb_item .icon-arrow-single-right {
  padding: 0 10px;
  position: relative;
}

.icon_select_list {
  overflow: auto;
  position: absolute;
  max-height: 153px;
  background-image: linear-gradient(to left, #fff, #eee);
  box-sizing: border-box;
  width: 120px;
  top: 160%;
  left: 50%;
  border: 1px solid #aaa;
  border-radius: 4px;
  z-index: 999;
  display: none;
}

.icon_select_item {
  background-color: #ddd;
}

.disable,
.disable:hover {
  cursor: not-allowed;
  opacity: 0.6;
}

.switch_btn {
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wd_prev,
#wd_next {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ccc;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

#wd_prev:hover,
#wd_next:hover {
  background-color: #888;
}

.wd_btn_transform {
  transform: rotate(90deg);
}

.mc_card_box {
  display: flex;
  /* position: absolute; */
  top: 10px;

  /* width: 96%; */
  /* margin: 0 2%; */
  height: 96%;
  position: relative;
}

.mc_card {
  width: 330px;
  min-height: 280px;
  position: relative;
  background: radial-gradient(circle, #eee, #ccc, #aaa);

  /* width: 60%; */
  /* flex: 1; */
}

/* .mc_port_box {
  height: 358px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  direction: rtl;
} */

.mc_port_swiper {
  height: 358px;
}

.edit_box,
.input_box {
  position: relative;
  /* width: 106px; */
  padding: 2px;
  /* margin-bottom: 10px; */
  background: radial-gradient(circle, #eee, #ddd, #bbb);
  border: 1px solid transparent;
}

.mc_port,
.mc_input {
  /* width: 20%; */
  width: 140px;
}

.mc_port {
  /* position: relative; */
  display: flex;
  flex-direction: column;
}

.edit_box {
  border-bottom: 1px solid gray;
  direction: ltr;
}

.input_box {
  z-index: 1;
}

.edit_item {
  display: flex;
  width: 98%;
  margin: 2px;
}

.port_btn {
  justify-content: flex-end;
}

.edit_item .mc_lab {
  /* width: 20%; */
  width: 28%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  margin-right: 9px;
  line-height: 28px;
}

.edit_item .mc_edit {
  flex: 1;
}

.port_tip {
  /* position: absolute;
  left: -36%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center; */
  font-weight: 600;

  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  /* border-bottom: 1px solid gray; */
}

.card_tip {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.card_name {
  color: #fff;
  width: 46px;
  background-color: black;
  border-radius: 46px;
  line-height: 46px;
}

/* 覆盖控件样式 */
.edit_box .mc_lab,
.input_box .mc_lab {
  margin-left: none !important;
}

.edit_box .mc_edit,
.input_box .mc_edit {
  border: none !important;
  border-radius: 0px !important;
}

.mc_btn {
  border: 1px solid transparent !important;
  /* font-weight: 500 !important; */
  border-radius: 0px !important;
}

.mc_port .icon-plus {
  background-color: #eee !important;
  /* position: absolute; */
  /* bottom: 0; */
  width: max-content;
}

/* 卡分辨率 */
.card_dvi_cfg {
  position: absolute;
  /* bottom: 1px; */
  top: 2px;
  /* height: 30px; */
}

.card_dvi_cfg .item_wrap {
  /* width: calc(100% - 50px); */
  display: inline-block;
  height: inherit;
  /* line-height: 30px; */
  vertical-align: middle;
  margin: 0 5px;
  height: 30px;
}

.card_dvi_cfg .select_text {
  border-radius: 0px;
}

.card_dvi_cfg .mc_btn_dvi_cfg {
  display: inline-block;
  line-height: 24px;
  box-sizing: border-box
}

/* reset  */
.mc_reset_box {
  width: 120px;
}

.mc_reset_box .edit_item .mc_lab {
  text-align: left;
  width: 14%;
}

/* backup checkbox */
.edit_box .mc_checkbox_box {
  width: auto;
  flex: 1;
}

.edit_box .mc_checkbox_box div {
  border: none;
}

/* swiper */
.swiper_pagination_box {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-bottom: 4px;
}

.swiper_pagination_custom {
  position: unset;
  width: auto !important;
  margin-left: 6px;
}

.prev_btn,
.next_btn {
  font-size: 20px;
  padding: 0 6px;
}

/* Slider mask */
.mc_slider_mask {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  /* background-color: rgba(0, 0, 0, 0.5); */
  background-color: rgba(18, 41, 68, 0.5);
  z-index: 888;
}

.swiper-slide-active .mc_slider_mask {
  display: none;
}

/* port navigation */
#certify .swiper-container {
  position: relative;
}

/* mian swiper */
#certify .mc_port_navigation {
  position: absolute;
  /* left: 0; */
  width: 32px;
  z-index: 999;
}

.mc_port_navigation .mc_radio_item {
  background-color: #fff;
}

.mc_port_navigation .mc_radio_vertical:first-child,
.mc_port_navigation .mc_radio_vertical:last-child {
  border-radius: 0;
}

#certify .main_swiper {
  width: 100%;
  height: 100%;
  flex: 1;
}

#certify .main_slider {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* port swiper */
.mc_port_box {
  /* height: 358px; */
  flex: 1 1 auto;
}

.mc_port_box .swiper-slide {
  height: fit-content !important;
  width: 100% !important;
  align-items: flex-start !important;
}

.mc_port_prev,
.mc_port_next {
  width: 100%;
  text-align: center;
  font-size: 16px;
  background: radial-gradient(circle, #eee, #ccc, #aaa);
  display: none;
  color: black;
}

.mc_port_box .swiper-button-disabled {
  color: gray;
}